import service from "@/utils/request";

export const useQuery = (params:any) => service({url: 'supplier/query', method: 'get', params: params});
export const useModify = (params:any) => service({url: 'supplier/modify', method: 'post', params: params});
export const deleteItem = (code: Number) => service({url: `supplier/deleteItem/${code}`});
// export const register = (params:any) => service({url: 'use/register', method: 'post', params: params})